{% extends "base.volt" %}
{% block pageFooter%}
<script type="text/javascript">
    var paramTags = '{{ tagids }}';
</script>
{{ javascript_include("/assets/manage/js/question/edit.js", false) }}
{% endblock %}

{% block content %}
    {{ partial("module/left_question") }}
    <div class="col-xs-10">
        <ol class="breadcrumb">
            <li>问答管理</li>
            <li class="active">编辑搜索热词</li>
        </ol>
        	<form id="form_update"  class="form-horizontal" role="form" method="post" urlList="{{ url.get('question/hotlist') }}" action="" target="ifr_send_file" enctype="multipart/form-data">
            <div class="form-group">
                <label for="question_id" class="col-xs-2 control-label">热词</label>
                <div class="col-xs-9">
                	<input type="text" class="form-control" name="title" value="{{ info.title }}" data-rule="required;length[~5]">
                    <input type="hidden" class="form-control" name="id" value="{{ info.id }}">
                </div>
            </div>
            <div class="form-group">
                <div class="col-xs-12 text-center">
                    <button id="btn_save" type="submit" class="btn btn-primary"><i class="fa fa-floppy-o fa-lg"></i> 保 存</button>
                </div>
            </div>
        </form>

    </div>
    
    
    
{% endblock %}